package com.chenye.servlet;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @Auther:chenye
 * @Data:2018/4/13
 * @Description:
 */
@SpringBootApplication
public class ServletAnnotation {
    public static void main(String[] args){
        SpringApplication.run(ServletAnnotation.class,args);
    }
    @Bean
    public TestServletAnnotation test(){
        return new TestServletAnnotation();
    }
}
